<template>
    <div>
        <ul>
            <li><router-link to="/">菜单1</router-link></li> 
            <li><router-link :to="{name:'control',params:{id:10,name:'这个是router-link传入的值'}}">控制面板</router-link></li>
            <li>
                <router-link to="/params/25/zhangsan">测试一下url传参</router-link>
            </li>
            <li>菜单13</li>
            <li>菜单14</li>
            <li>菜单15</li>
        </ul>
    </div>
</template>
 

<script>
export default {
    name:"lyymenu"
}
</script>

<style>

</style>

